<?php

namespace App\Repositories\Personnel;

use App\Models\Personnel\StationClass;
use App\Presenters\Personnel\StationClassPresenter;
use App\Repositories\BaseRepository;
use App\Validators\Personnel\StationClassValidator;
use Prettus\Repository\Criteria\RequestCriteria;

/**
 * Class StationClassRepositoryEloquent
 * @package namespace App\Repositories\Personnel;
 */
class StationClassRepositoryEloquent extends BaseRepository implements StationClassRepository
{
    /**
     * Specify Model class name
     *
     * @return string
     */
    public function model()
    {
        return StationClass::class;
    }

    /**
    * Specify Validator class name
    *
    * @return mixed
    */
    public function validator()
    {

        return StationClassValidator::class;
    }


    /**
     * Boot up the repository, pushing criteria
     */
    public function boot()
    {
        $this->pushCriteria(app(RequestCriteria::class));
    }

    public function presenter(){
        return StationClassPresenter::class;
    }
}
